Release 10.1A: OpenEdge Development:
Progress 4GL Reference
SAX-PARSE-FIRST( ) method
Initializes and begins a progressive-scan parse of an XML document associated with a SAX-reader object.
Return type: None Applies to: SAX-reader object handle
To continue a progressive-scan parse, call SAX-PARSE-NEXT( ) repeatedly.
When SAX-PARSE-FIRST( ) executes, Progress invokes the StartDocument callback, if there is one.
SAX-PARSE-FIRST( ) raises a Progress error if the parser fails, for any reason, to start parsing the XML source.
If SAX-PARSE-FIRST( ) is called on a source file already being parsed with SAX-PARSE-NEXT( ), the parser reinitializes the parsing process.
SAX-PARSE-FIRST( ) can be called with SAX-reader in any state.
Note: SAX-PARSE-FIRST( ) does not have a return value. To detect if an error has occurred, add NO-ERROR to the call and when it returns, check ERROR-STATUS:ERROR.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |